<?php if (count($Officials) > 0) { ?>
<div class="similar">
    <h2>
        <div class="com_tit" style="width:220px;">官方网站<span>OFFICIAL SHOW PAGES</span></div>
    </h2>
    <?php
        /*$officelinks="";
    $names="";
    $srcs="";
    foreach($Celebritys as $celebrity)
    {
        $officelinks=$celebrity->getOffice_site_links();
        $names=$celebrity->getName();
        $srcs=$celebrity->getSnapshot_big();
        break;

    }
    $officelinks=explode(',',$officelinks);//
    foreach($officelinks as $officelink)
    {
        if(!empty($officelink))
        {
        echo "<div class='site_show'>
              <div class='site_img'><a href='".$officelink."' target='_blank'><img src='".$srcs."' width='138' height='109' /></a></div>
              <div class='site_address'>
                <h3><a href='".$officelink."'>".$celebrity->getName()."</a></h3>
              </div>
            </div>";
        }
    }*/

    foreach ($Officials as $offic)
    {
        echo "<div class='site_show'>
              <div class='site_img'><a href='" . $offic->getLink() . "' target='_blank'><img src='" . $offic->getSnapshot() . "' width='138' height='109' /></a></div>
              <div class='site_address'>
                <h3><a href='" . $offic->getLink() . "' target='_blank'>" . $offic->getTitle() . "</a></h3>
              </div>
            </div>";
    }
    ?>
</div>
<?php } ?>
